import 'package:flutter_app/Page/Main/Main/main.dart';
import 'package:flutter_app/Page/Message/Chat/main.dart';
import 'package:flutter_yfree/YFree.dart';
import 'package:flutter_yim/YIM.dart';

class MessageUtils {
  MessageUtils._();

  static void onRecMessage({
    required YPage page,
    required List<YIMMessage> messages,
  }) {
    MainPage? mainPage = (page is MainPage ? page : null);
    ChatPage? chatPage = (page is ChatPage ? page : null);
    messages.forEach((message) {});
  }
}
